<%@ page contentType="text/html;charset=utf-8" language="java" %>
<%@ include file="/WEB-INF/views/common/taglibs.jsp" %>
<html>
<!-- BEGIN HEAD -->
<head>
    <title>用户编辑界面</title>
</head>
<body>
<!-- BEGIN PAGE CONTENT LIST-->
<div>
    <form id="form_live_details" action="#" role="form">
        <input type="hidden" name="id" value="${videoDTS.id}"/>

        <div class="form-group">
            <label>直播标题<span class="label-required">*</span></label>
            <input type="text" name="title" class="form-control" value="${videoDTS.title}"  disabled="disabled"/>
        </div>
        <div class="form-group">
            <label>直播封面<span class="label-required">*</span></label>
            <div> <img src="${videoDTS.picture}"/></div>
           <%-- <img src="http://hiphotos.baidu.com/_black_stone/pic/item/0a47030d82f956da0b7b82ff.jpg"/>--%>
        </div>
        <div class="form-group">
            <label>直播地址<span class="label-required">*</span></label>
            <input type="text" name="location" class="form-control" value="${videoDTS.location}" disabled="disabled"/>
        </div>
        <div class="form-group">
            <label>设备类型<span class="label-required">*</span></label>
            <select name="deviceType" class="form-control" disabled="disabled">
                <option value="1" <c:if test="${videoDTS.deviceType == 1}">selected="selected" </c:if>>ios</option>
                <option value="2" <c:if test="${videoDTS.deviceType == 2}">selected="selected" </c:if>>android</option>
            </select>

        </div>
        <%-- <div class="form-group">
             <label>发起用户<span class="label-required">*</span></label>
             <input type="text" name="nickName" class="form-control" value="${videoDTS.nickName}" readonly="true"/>
         </div>--%>
       <%-- <div class="form-group">
            <label>视频来源国家<span class="label-required">*</span></label>
            <input type="text" name="sourceCountry" class="form-control" value="${videoDTS.sourceCountry}"
                   readonly="true"/>
        </div>
        &lt;%&ndash;头像图片需要处理&ndash;%&gt;

        <div class="form-group">
            <label>城市<span class="label-required">*</span></label>
            <input type="text" name="city" class="form-control" value="${videoDTS.city}" readonly="true"/>
        </div>
        <div class="form-group">
            <label>类型<span class="label-required">*</span></label>

            <div>
                <select name="type" class="form-control">
                    <option value="1" <c:if test="${videoDTS.type == '1'}">selected="selected" </c:if>>直播</option>
                    <option value="3" <c:if test="${videoDTS.type == '3' }">selected="selected" </c:if>>录播</option>
                    <option value="99" <c:if test="${videoDTS.type == '99' }">selected="selected" </c:if>>视频</option>
                </select>
            </div>
        </div>

        &lt;%&ndash;    <div class="form-group">
              <label>直播ID<span class="label-required">*</span></label>
              <input type="text" name="loginName" class="form-control" value="${video.liveId}" readonly="true"/>
          </div>
       &ndash;%&gt;
        <div class="form-group">
            <label>设备类型<span class="label-required">*</span></label>
            <select name="deviceType" class="form-control">
                <option value="1" <c:if test="${videoDTS.deviceType == 1}">selected="selected" </c:if>>ios</option>
                <option value="2" <c:if test="${videoDTS.deviceType == 2}">selected="selected" </c:if>>android</option>
            </select>

        </div>
        <div class="form-group">
            <label>APP ID<span class="label-required">*</span></label>
            <input type="text" name="appId" class="form-control" value="${videoDTS.appId}" readonly="true"/>
        </div>
        <div class="form-group">
            <label>业务ID<span class="label-required">*</span></label>
            <input type="text" name="businessId" class="form-control" value="${videoDTS.businessId}"
                   readonly="true"/>
        </div>

        <div class="form-group">
            <label>播放时长<span class="label-required">*</span></label>
            <input type="text" name="playTime" class="form-control" value="${videoDTS.playTime}" readonly="true"/>
        </div>
        <div class="form-group">
            <label>开始时间<span class="label-required">*</span></label>
            <input type="text" name="str_startTime" class="form-control" value="${videoDTS.str_startTime}"
                   readonly="true"/>
        </div>
        <div class="form-group">
            <label>结束时间<span class="label-required">*</span></label>
            <input type="text" name="str_endTime" class="form-control" value="${videoDTS.str_endTime}" readonly="true"/>
        </div>
        <div class="form-group">
            <label>创建时间<span class="label-required">*</span></label>
            <input type="text" name="str_createTime" class="form-control" value="${videoDTS.str_createTime}"
                   readonly="true"/>
        </div>
        <div class="form-group">
            <label>更新时间<span class="label-required">*</span></label>
            <input type="text" name="str_endTime" class="form-control" value="${videoDTS.str_endTime}"
                   readonly="true"/>
        </div>
        <div class="form-group">
            <label>直播播放信息<span class="label-required">*</span></label>
            <input type="text" name="livePlayInfo" class="form-control" value="${videoDTS.livePlayInfo}"
                   readonly="true"/>
        </div>
        <div class="form-group">
            <label>调度目的地<span class="label-required">*</span></label>
            <input type="text" name="str_dispatchBusinessId" class="form-control"
                   value="${videoDTS.str_dispatchBusinessId}"
                   readonly="true"/>
        </div>
        <div class="form-group">
            <label>调度描述<span class="label-required">*</span></label>
            <input type="text" name="dispatchDesc" class="form-control" value="${videoDTS.dispatchDesc}"
                   readonly="true"/>
        </div>
        <div class="form-group">
            <label>来源类型<span class="label-required">*</span></label>
            <select name="sourceType" class="form-control">
                <option value="1" <c:if test="${videoDTS.sourceType == 1}">selected="selected" </c:if>>乐视云个人直播</option>
                <option value="2" <c:if test="${videoDTS.sourceType == 2}">selected="selected" </c:if>>rtmp直播台</option>
                <option value="3" <c:if test="${videoDTS.sourceType == 3}">selected="selected" </c:if>>TX云直播</option>
                <option value="4" <c:if test="${videoDTS.sourceType == 4}">selected="selected" </c:if>>乐视网hls轮播台
                </option>
                <option value="5" <c:if test="${videoDTS.sourceType == 5}">selected="selected" </c:if>>云点播</option>
                <option value="6" <c:if test="${videoDTS.sourceType == 6}">selected="selected" </c:if>>上传视频播放</option>
                <option value="7" <c:if test="${videoDTS.sourceType == 7}">selected="selected" </c:if>>TX点播播放</option>
            </select>
        </div>--%>
    </form>
</div>
<!-- END PAGE CONTAINER-->
</body>
</html>